<?php 
foreach($this->comments as $comment) {
?>
<div class="comment" id="comment-<?= $comment['cid']; ?>">
	<div class="padding">
		<div class="comment-header"><?php echo $this->translate("Kommentar #").$comment['position'].":"; ?></div>
		<div class="comment-body"><?php echo $comment['comment']; ?></div>
		<div class="comment-footer"><?php echo $this->translate("geschrieben am")." ".date("d.m.Y H:i",$comment['created'])." ".$this->translate("von")." ".$comment['ownerid']; ?></div>
		<div class="comment-tools">
			<?php echo $this->translate("bearbeiten"); ?> | 
			<a id="delcomment-<?= $comment['cid']; ?>" class="delete-comment"><?php echo $this->translate("löschen"); ?></a>
		</div>
	</div>
</div>
<?php } ?>